<script setup lang="ts">
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import { applyThemeColors, generateColorPalette } from '@/utils/colorTheme'

applyThemeColors(generateColorPalette('#DC3545'), '--el-color-danger')
</script>

<template>
  <el-config-provider :locale="zhCn">
    <router-view />
  </el-config-provider>
</template>
